package com.orchard.xpz.dao;

import com.orchard.xpz.entity.plantFood.PlantFood;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PlantFoodDao {

    List<PlantFood> getList(PlantFood plantFood);

    int deleteByPrimaryKey(String plantId);

    int insert(PlantFood record);

    int insertSelective(PlantFood record);

    PlantFood selectByPrimaryKey(String plantId);

    int updateByPrimaryKeySelective(PlantFood record);

    int updateByPrimaryKey(PlantFood record);

    List<PlantFood> getCountList(PlantFood plantFood);
}